make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 21 Feb 2022 08:47:11 +0000 (08:47 +0000)
committerAurelien Jarno <aurel32@debian.org>
Mon, 21 Feb 2022 08:47:11 +0000 (08:47 +0000)
commit6cc89ddf1065b2e0d9738635e0f851dc102946fb
tree7ffce365f102436c5e739dca03e781bd8ced5b4f
parent4bbdefe67f7ddb1be8cbe745fbe924645cdaf812
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c